package com.atguigu.spzx.product.mapper.index;

import com.atguigu.spzx.model.dto.h5.ProductSkuDto;
import com.atguigu.spzx.model.entity.product.Product;
import com.atguigu.spzx.model.entity.product.ProductSku;

import java.util.List;

/**
 * @author Mahone
 */
public interface ProductMapper {


    /**
     *分页查询商品sku表
     * @param productSkuDto
     * @return
     */
    List<ProductSku> selectProductSkuList(ProductSkuDto productSkuDto);

    /**
     * 根据sku的parenId查看商品详情
     * @param productId
     * @return
     */
    Product selectBySkuId(Long productId);
}
